2024-02-09 - Per Service Schemas Docs

From Izara Wiki
Revision as of 03:53, 10 February 2024 by Seagame (talk | contribs)
Jump to navigation Jump to search

Per Service Schemas
Describe object schema design and workflow.

Schema Description

  • objectSchema is an object that shows data models in service.
  • relationshipSchema is an object that describes a relation between objectSchema.
  • refRelationshipSchema is an object that references to relationshipSchema in another service

Rules for creating objectSchema

  • Don’t have duplicate fieldName
  • FieldName in identifier should exist in objectSchema.fieldNames
  • Don’t have duplicate tableName in storageResources.type dynamoDB of objectSchema

Rules for creating addOnDatastructure:versionedData

  • Don’t have duplicate versionedData.versionedDataLabel in addOnDataStructure
  • Don’t have duplicate fieldName with objectSchema and other versionedData