Skip to content

Commit

Permalink
Implemented the data/record schema
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdegroot committed Dec 12, 2018
1 parent a146ce1 commit 5716ccf
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
3 changes: 3 additions & 0 deletions schemas/data/record.example.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"@id":"49069bba-3014-420b-a887-3959f87d474a"
}
37 changes: 37 additions & 0 deletions schemas/data/record.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"meta:license": [
"Copyright 2018 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$id": "https://ns.adobe.com/xdm/data/record",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Record Class Schema",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"description":
"Record technical class schema. Used to indicate the behaviour of record data semantic when composed into other Classes and Schemas.",
"definitions": {
"record": {
"properties": {
"@id": {
"title": "Identifier",
"type": "string",
"format": "uri-reference",
"description": "A unique identifier for the record."
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/record"
},
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
}
],
"meta:status": "experimental"
}
2 changes: 1 addition & 1 deletion schemas/data/time-series.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"meta:extensible": true,
"meta:abstract": true,
"description":
"Time-series technical class schema. Used to indicate the behaviour of time partitioned data semantics when composed into other Classes and Schemas.",
"Time-series technical class schema. Used to indicate the behaviour of time partitioned data semantic when composed into other Classes and Schemas.",
"definitions": {
"time-series": {
"properties": {
Expand Down

0 comments on commit 5716ccf

Please sign in to comment.