Newsroom Planner
6.0.0
6.0.0
  • What is Newsroom Planner?
  • User guide
    • Overview
    • Top menu
      • Template
    • Calendar view
      • Filtering
      • Cards in calendar columns
    • Search
    • Events
      • Create an event
      • Edit event
    • Planning
      • Create a planning
      • Edit a plan
    • Assignment
      • Create assignment
        • Text assignment
        • Photo assignment
          • Manage linked photos
        • Other types of assignments
      • Edit assignment
        • Article size
      • E-mail notification
    • Hotkeys
    • Action widget
    • Copying
  • My assignment
  • The list of my assignments
  • Text assignment
    • Edit article on assignment
    • Create new article on the assignment
    • Link an article to the assignment
    • Change article size
    • Make a copy of an article
    • Use linked photos in the article
    • Create article when there is no assignment created
  • Photo assignment
    • Upload photos
    • Link photos
    • Unlink photos
    • Manage linked photos
  • Set the assignment as done
  • Create new assignment
  • Opening plan/assignment
  • Copy a plan
  • Admin guide
    • Settings
      • Customization
        • Cards
        • Columns
        • Single view (My assignment)
        • Advanced concept settings
        • Loadable components
          • Event
          • Planning
          • Assignment
            • Type of assignment
          • Full package
          • Tags
      • Configuration
        • Types
        • Sortings
        • Filters
        • Property mappings
        • Properties to fetch
        • Queries & Suggestions
        • Providers
        • Map options
        • Writer
        • Email service
        • Debug
      • Templates
    • My assignment Workspace setting
    • Changelog
    • Requirements
    • E-mail notification
    • Integrate with Newsroom Planner
    • Develop with NRP
    • Migration
      • 5.x âž¡ 6.x
      • 5.0.x âž¡ 5.1.x
      • 4.x âž¡ 5.x
        • Cleanup
      • 3.x âž¡ 4.x
        • Templates
      • 2.x âž¡ 3.x
      • 1.x âž¡ 2.x
    • Concept relations
  • Developer guide
    • Link to plugin-development documentation
Powered by GitBook
On this page

Was this helpful?

  1. Admin guide
  2. Settings
  3. Configuration

Property mappings

Model keys to OC property mapping

Event:

{
    "xml": "EventXML", //{1}
    "uuid": "uuid", //{1}
    "mimetype": "mimetype", //{1}
    "name": "EventName", //{1}
    "sector": "EventSector", //{1}
    "startDate": "EventStartDate", //{1}
    "endDate": "EventEndDate", //{1}
    "etag": "checksum", //{1}
    "planningItem": { //{2}
        "property": "EventPlanningItemRelations" //{3}
    }
}
  1. A key value pair where left part is internal keys and right part is OC properties

  2. Internal format to determine that the following part is a relation. Left part internal key

  3. Which property to contains the relation from OC

PlanningItem:

{
    "uuid": "uuid", //{1}
    "etag": "checksum", //{1}
    "xml": "PlanningXML", //{1}
    "mimetype": "mimetype", //{1}
    "headline": "PlanningHeadline", //{1}
    "urgency": "PlanningUrgency", //{1}
    "statusHRM": "PlanningStatusHRM", //{1}
    "sector": "PlanningSector", //{1}
    "startDate": "PlanningStartDate", //{1}
    "endDate": "PlanningEndDate", //{1}
    "event": { //{2}
        "property": "PlanningEventRelation" //{3}
    },
    "assignments": { //{2}
        "property": "PlanningAssignmentsRelation" //{3}
    }
}
  1. A key value pair where left part is internal keys and right part is OC properties

  2. Internal format to determine that the following part is a relation. Left part internal key

  3. Which property to contains the relation from OC

Assignment:

{
    "etag": "checksum", //{1}
    "uuid": "uuid", //{1}
    "contentType": "contenttype", //{1}
    "xml": "AssignmentXML", //{1}
    "mimetype": "mimetype", //{1}
    "headline": "AssignmentHeadline", //{1}
    "type": "AssignmentType", //{1}
    "statusHRM": "AssignmentStatusHRM", //{1}
    "assigneeName": "AssignmentAssigneesName", //{1}
    "endDate": "AssignmentEndDate", //{1}
    "startDate": "AssignmentStartDate", //{1}
    "assignees": { //{2}
        "property": "AssignmentAssigneesRelation" //{3}
    },
    "articles": { //{2}
        "property": "AssignmentArticlesRelation" //{3}
    },
    "planningItem": { //{2}
        "property": "AssignmentPlanningItemRelation" //{3}
    }
}
  1. A key value pair where left part is internal keys and right part is OC properties

  2. Internal format to determine that the following part is a relation. Left part internal key

  3. Which property to contains the relation from OC

Articles:

{
    "headline": "WriterHeadlines", //{1}
    "leadin": "ArticleLeadin", //{1}
    "mimetype": "mimetype", //{1}
    "body": "ArticleBody", //{1}
    "uuid": "uuid", //{1}
    "created": "created", //{1}
    "status": "WriterPubStatus", //{1}
    "updated": "updated", //{1}
    "authors": "WriterAuthors", //{1}
    "authorsUuid": "WriterAuthorsUuid", //{1}
    "images": "ArticleMetaImageUuids", //{1}
    "caption": "ArticleCaption", //{1}
    "title": "Name", //{1}
    "channels": "ArticleMetaChannels", //{1}
    "publishedDate": "PubDate" //{1}
    "size": "ArticleSize", //{1}
    "premium": "ArticleMetaPremium", //{1}
    "checksum": "checksum", //{1}
    "assignmentUuid": "ArticleMetaAssignmentUuid" //{1}
}
  1. A key value pair where left part is internal keys and right part is OC properties

Concepts:

{
    "xml": "ConceptXML",
    "uuid": "uuid",
    "name": "ConceptName",
    "type": "ConceptImTypeFull",
    "imidSub": "ConceptImIdSubjectId",
    "broader": {
        "property": "ConceptBroaderRelation"
    },
    "associatedWith": {
        "property": "ConceptAssociatedWithRelations"
    },
    "replacedBy": {
        "property": "ConceptReplacedByRelation"
    },
    "avatar": {
        "property": "ConceptAvatarRelation"
    }
}

Avatar:

{
    "uuid": "uuid",
    "filename": "WriterFileName"
}
PreviousFiltersNextProperties to fetch

Last updated 3 years ago

Was this helpful?