Skip to content

Commit

Permalink
Merge pull request adlnet#261 from imartinezortiz/issue-256
Browse files Browse the repository at this point in the history
Clarify current version of the used JSONSchema specification
  • Loading branch information
andyjohnson authored Aug 2, 2022
2 parents 9940c57 + 43c52a8 commit 8dd0e7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xapi-profiles-about.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ even if there no requirement in a given area.

<a name="json"></a>**JSON**: [JavaScript Object Notation](http://www.json.org). A simple way to represent data structures for computers that humans don't have too hard a time writing or reading. The way Profiles are represented in this specification.

<a name="jsonschema"></a>**JSON Schema**: [JSON Schema](http://json-schema.org) are a way to describe and constrain the form of JSON documents.
<a name="jsonschema"></a>**JSON Schema**: [JSON Schema](http://json-schema.org) are a way to describe and constrain the form of JSON documents. This specification adheres to [Draft-07](https://json-schema.org/specification-links.html#draft-7) version of the JSON Schema specification.

<a name="jsonld"></a>**JSON-LD**: [JSON-LD](https://json-ld.org) turns JSON into Linked Data, making it easy to use with Linked Data tools and integrate with other datasets.

Expand Down
4 changes: 2 additions & 2 deletions xapi-profiles-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ Property | Type | Description | Required
`schema` | IRI | the IRI for accessing a JSON Schema for this extension. The JSON Schema can be used to constrain the extension to a single type. | Optional
`inlineSchema` | Object | An alternate way to include a JSON Schema, as a string. | Optional

Profiles MUST use at most one of `schema` and `inlineSchema` for Extensions.
Profiles MUST use at most one of `schema` and `inlineSchema` for Extensions. JSON Schema expressions SHOULD adhere to the [Draft-07](https://json-schema.org/specification-links.html#draft-7) version of the JSON Schema specification.

Statements including extensions defined in a Profile MUST:
* only use a ContextExtension in context
Expand Down Expand Up @@ -325,7 +325,7 @@ Property | Type | Description | Required
`schema` | IRI | the IRI for accessing a JSON Schema for this document resource. | Optional
`inlineSchema` | String | An alternate way to include a JSON Schema, as a string. | Optional

Profiles MUST use at most one of `schema` and `inlineSchema` for Document Resources
Profiles MUST use at most one of `schema` and `inlineSchema` for Document Resources. JSON Schema expressions SHOULD adhere to the [Draft-07](https://json-schema.org/specification-links.html#draft-7) version of the JSON Schema specification.

Learning Record Store Clients sending Document Resources
* MUST use the `id` as the `stateId` or `profileId` (as appropriate) when interacting with the corresponding resource.
Expand Down

0 comments on commit 8dd0e7f

Please sign in to comment.