Skip to content

Commit

Permalink
definition of the 'version' property; fixes #10
Browse files Browse the repository at this point in the history
  • Loading branch information
stoicflame committed Sep 28, 2016
1 parent ce0a936 commit f9e65b4
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions specifications/rs-specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ how a client can expect to interact with a conforming genealogical application.
* [3.4.1 "Person" XML Type Extensions](#person-xml-type-extensions)
* [3.4.2 "Person" JSON Type Extensions](#person-json-type-extensions)
* [3.5 The "sortKey" Property](#sort-key-property)
* [3.6 The "resourceId" Property](#resource-id-property)
* [3.7 The "version" Property](#version-property)
* [4. Application States](#4.application-states)
* [4.1 The "Agent" State](#agent)
* [4.2 The "Ancestry Results" State](#ancestry)
Expand Down Expand Up @@ -762,8 +764,6 @@ The `sortKey` is defined as an XML attribute of type `xs:string` on the applicab

The `sortKey` is defined as a JSON member of type `string` on the applicable JSON objects.

<a name="4.application-states"/>

<a name="resource-id-property"/>

## 3.6 The "resourceId" Property
Expand All @@ -782,6 +782,22 @@ to the `gx:ResourceReference` XML type.
The `resourceId` is defined as a JSON member of type `string`. It is only applicable
to the `ResourceReference` JSON type.

<a name="resource-id-property"/>

## 3.7 The "version" Property

A GEDCOM X application MAY choose to provide a version for a resource. The "version" property
only applies to the `http://gedcomx.org/v1/SourceDescription` data type. The implementation
of the version is application-specific.

### 3.7.1 The "version" XML Attribute

The `version` is defined as an XML attribute of type `xs:string`.

### 3.7.2 "resourceId" JSON Property

The `version` is defined as a JSON member of type `string`.

<a name="4.application-states"/>

# 4. Application States
Expand Down

0 comments on commit f9e65b4

Please sign in to comment.