Skip to content

Commit

Permalink
added schema for locations
Browse files Browse the repository at this point in the history
also locations has ID not Entity ID
  • Loading branch information
Rohit Chatterjee committed May 30, 2024
1 parent 56f6f52 commit 199f772
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ definitions:
locations_stream:
$ref: "#/definitions/base_stream"
name: "locations"
primary_key: "Entity ID"
primary_key: "ID"
incremental_sync:
$ref: "#/definitions/incremental_base"
transformations:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": true,
"properties": {
"ID": {
"type": "string"
},
"External ID": {
"type": [
"null",
"string"
]
},
"Title": {
"type": "string"
},
"Type": {
"type": "string"
},
"Level": {
"type": "number"
},
"Voided": {
"type": "boolean"
},
"customProperties": {
"type": [
"null",
"object"
],
"additionalProperties": true
},
"last_modified_at": {
"type": "string",
"format": "YYYY-MM-DDTHH:mm:ss.sssZ"
},
"audit": {
"type": [
"null",
"object"
],
"additionalProperties": true,
"properties": {
"Created at": {
"type": [
"null",
"string"
],
"format": "YYYY-MM-DDTHH:mm:ss.sssZ"
},
"Last modified at": {
"type": [
"null",
"string"
],
"format": "YYYY-MM-DDTHH:mm:ss.sssZ"
},
"Created by": {
"type": [
"null",
"string"
]
},
"Last modified by": {
"type": [
"null",
"string"
]
}
}
}
}
}

0 comments on commit 199f772

Please sign in to comment.