Skip to content

Commit

Permalink
Fix inconsistencies in human body spec vs schema (#132)
Browse files Browse the repository at this point in the history
Fix inconsistencies between spec table and schema for
* Color type, fix spec, xs:string -> tt:ColorDescriptor
* Smoking type, fix schema, bd:Smoking -> xs:string
* UsingMobile type, fix schema, bd:UsingMobile -> xs:string
* Activity type, fix spec, N/A -> xs:string

Change-Id: Icb18ee81f3353763f507c3340d03d1445b72b4c6
  • Loading branch information
svefredrik authored Aug 19, 2021
1 parent 516b8b2 commit 0de4982
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 76 deletions.
82 changes: 8 additions & 74 deletions doc/Analytics.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1714,7 +1714,7 @@
</section>
<section>
<title>Human body descriptor</title>
<para>A human body descriptor is defined as an optional element of the Appearance Node of an Object Node. It is exploited to describle some features of the humanbody, such as bodymetric, clothing, belonging and behaviour. All features are listed in the below table.</para>
<para>A human body descriptor is defined as an optional element of the Appearance Node of an Object Node. It is exploited to describle some features of the human body, such as body metric, clothing, belonging and behaviour. All features are listed in the below table.</para>
<table>
<title>Description of the Human Body detail</title>
<tgroup cols="5">
Expand Down Expand Up @@ -1893,7 +1893,7 @@
<para>Color</para>
</entry>
<entry>
<para>xs:string</para>
<para>tt:ColorDescriptor</para>
</entry>
<entry>
<para>N/A</para>
Expand Down Expand Up @@ -1940,7 +1940,7 @@
<para>Color</para>
</entry>
<entry>
<para>xs:string</para>
<para>tt:ColorDescriptor</para>
</entry>
<entry>
<para>N/A</para>
Expand Down Expand Up @@ -1968,7 +1968,7 @@
<para>Color</para>
</entry>
<entry>
<para>xs:string</para>
<para>tt:ColorDescriptor</para>
</entry>
<entry>
<para>N/A</para>
Expand All @@ -1982,7 +1982,7 @@
<para>Color</para>
</entry>
<entry>
<para>xs:string</para>
<para>tt:ColorDescriptor</para>
</entry>
<entry>
<para>N/A</para>
Expand Down Expand Up @@ -2021,7 +2021,7 @@
<para>Color</para>
</entry>
<entry>
<para>xs:string</para>
<para>tt:ColorDescriptor</para>
</entry>
<entry>
<para>N/A</para>
Expand Down Expand Up @@ -2108,84 +2108,18 @@
<para>bd:UsingMobile</para>
</entry>
</row>
<row>
<entry morerows="6">
<para>Activity</para>
</entry>
<entry>
<para>Walking</para>
</entry>
<entry>
<para>N/A</para>
</entry>
<entry>
<para>xs:string</para>
</entry>
</row>
<row>
<entry>
<para>Running</para>
</entry>
<entry>
<para>N/A</para>
</entry>
<entry>
<para>xs:string</para>
</entry>
</row>
<row>
<entry>
<para>Fallen</para>
</entry>
<entry>
<para>N/A</para>
</entry>
<entry>
<para>xs:string</para>
</entry>
</row>
<row>
<entry>
<para>Squatting</para>
</entry>
<entry>
<para>N/A</para>
</entry>
<entry>
<para>xs:string</para>
</entry>
</row>
<row>
<entry>
<para>Sitting</para>
</entry>
<entry>
<para>N/A</para>
</entry>
<entry>
<para>xs:string</para>
</entry>
</row>
<row>
<entry>
<para>Standing</para>
<para>Activity</para>
</entry>
<entry>
<para>N/A</para>
</entry>
<entry>
<para>xs:string</para>
</entry>
</row>
<row>
<entry>
<para>Driving</para>
</entry>
<entry>
<para>N/A</para>
</entry>
<entry>
<para>xs:string</para>
<para>bd:HumanActivity</para>
</entry>
</row>
</tbody>
Expand Down
4 changes: 2 additions & 2 deletions wsdl/ver20/analytics/humanbody.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -365,12 +365,12 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO
</xs:simpleType>
<xs:complexType name="Behaviour">
<xs:sequence>
<xs:element name="Smoking" type="bd:Smoking" minOccurs="0">
<xs:element name="Smoking" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Acceptable values are defined in bd:Smoking.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UsingMobile" type="bd:UsingMobile" minOccurs="0">
<xs:element name="UsingMobile" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Acceptable values are defined in bd:UsingMobile.</xs:documentation>
</xs:annotation>
Expand Down

0 comments on commit 0de4982

Please sign in to comment.