sample_odml.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. {
  2. "odml-version": "1.1",
  3. "Document": {
  4. "date": "1979-10-12",
  5. "version": "42",
  6. "author": "D. N. Adams",
  7. "sections": [
  8. {
  9. "name": "TheCrew",
  10. "definition": "Information on the crew",
  11. "type": "crew",
  12. "sections": [
  13. {
  14. "name": "Arthur Philip Dent",
  15. "definition": "Information on Arthur Dent",
  16. "type": "crew/person",
  17. "sections": [],
  18. "properties": [
  19. {
  20. "name": "Species",
  21. "definition": "Species to which subject belongs to",
  22. "dtype": "string",
  23. "value": [
  24. "Human"
  25. ]
  26. },
  27. {
  28. "name": "Nickname",
  29. "definition": "Nickname(s) of the subject",
  30. "dtype": "string",
  31. "value": [
  32. "The sandwich-maker"
  33. ]
  34. },
  35. {
  36. "name": "Occupation",
  37. "definition": "Occupation of the subject",
  38. "dtype": "string",
  39. "value": [
  40. "-"
  41. ]
  42. },
  43. {
  44. "name": "Gender",
  45. "definition": "Sex of the subject",
  46. "dtype": "string",
  47. "value": [
  48. "male"
  49. ]
  50. },
  51. {
  52. "name": "HomePlanet",
  53. "definition": "Home planet of the subject",
  54. "dtype": "string",
  55. "value": [
  56. "Earth"
  57. ]
  58. }
  59. ]
  60. },
  61. {
  62. "name": "Zaphod Beeblebrox",
  63. "definition": "Information on Zaphod Beeblebrox",
  64. "type": "crew/person",
  65. "sections": [],
  66. "properties": [
  67. {
  68. "name": "Species",
  69. "definition": "Species to which subject belongs to",
  70. "dtype": "string",
  71. "value": [
  72. "Betelgeusian"
  73. ]
  74. },
  75. {
  76. "name": "Nickname",
  77. "definition": "Nickname(s) of the subject",
  78. "dtype": "string",
  79. "value": [
  80. "-"
  81. ]
  82. },
  83. {
  84. "name": "Occupation",
  85. "definition": "Occupation of the subject",
  86. "dtype": "string",
  87. "value": [
  88. "Ex-Galactic President"
  89. ]
  90. },
  91. {
  92. "name": "Gender",
  93. "definition": "Sex of the subject",
  94. "dtype": "string",
  95. "value": [
  96. "male"
  97. ]
  98. },
  99. {
  100. "name": "HomePlanet",
  101. "definition": "Home planet of the subject",
  102. "dtype": "string",
  103. "value": [
  104. "A planet in the vicinity of Betelgeuse"
  105. ]
  106. }
  107. ]
  108. },
  109. {
  110. "name": "Tricia Marie McMillan",
  111. "definition": "Information on Trillian Astra",
  112. "type": "crew/person",
  113. "sections": [],
  114. "properties": [
  115. {
  116. "name": "Species",
  117. "definition": "Species to which subject belongs to",
  118. "dtype": "string",
  119. "value": [
  120. "Betelgeusian"
  121. ]
  122. },
  123. {
  124. "name": "Nickname",
  125. "definition": "Nickname(s) of the subject",
  126. "dtype": "string",
  127. "value": [
  128. "Trillian Astra"
  129. ]
  130. },
  131. {
  132. "name": "Occupation",
  133. "definition": "Occupation of the subject",
  134. "dtype": "string",
  135. "value": [
  136. "-"
  137. ]
  138. },
  139. {
  140. "name": "Gender",
  141. "definition": "Sex of the subject",
  142. "dtype": "string",
  143. "value": [
  144. "female"
  145. ]
  146. },
  147. {
  148. "name": "HomePlanet",
  149. "definition": "Home planet of the subject",
  150. "dtype": "string",
  151. "value": [
  152. "Earth"
  153. ]
  154. }
  155. ]
  156. },
  157. {
  158. "name": "Ford Prefect",
  159. "definition": "Information on Ford Prefect",
  160. "type": "crew/person",
  161. "sections": [],
  162. "properties": [
  163. {
  164. "name": "Species",
  165. "definition": "Species to which subject belongs to",
  166. "dtype": "string",
  167. "value": [
  168. "Betelgeusian"
  169. ]
  170. },
  171. {
  172. "name": "Nickname",
  173. "definition": "Nickname(s) of the subject",
  174. "dtype": "string",
  175. "value": [
  176. "Ix"
  177. ]
  178. },
  179. {
  180. "name": "Occupation",
  181. "definition": "Occupation of the subject",
  182. "dtype": "string",
  183. "value": [
  184. "Researcher for the Hitchhiker's Guide to the Galaxy"
  185. ]
  186. },
  187. {
  188. "name": "Gender",
  189. "definition": "Sex of the subject",
  190. "dtype": "string",
  191. "value": [
  192. "male"
  193. ]
  194. },
  195. {
  196. "name": "HomePlanet",
  197. "definition": "Home planet of the subject",
  198. "dtype": "string",
  199. "value": [
  200. "A planet in the vicinity of Betelgeuse"
  201. ]
  202. }
  203. ]
  204. }
  205. ],
  206. "properties": [
  207. {
  208. "name": "NameCrewMembers",
  209. "definition": "List of crew members names",
  210. "dtype": "person",
  211. "value": [
  212. "Arthur Philip Dent",
  213. "Zaphod Beeblebrox",
  214. "Tricia Marie McMillan",
  215. "Ford Prefect"
  216. ]
  217. },
  218. {
  219. "name": "NoCrewMembers",
  220. "definition": "Number of crew members",
  221. "dtype": "int",
  222. "value": [
  223. 4
  224. ]
  225. }
  226. ]
  227. },
  228. {
  229. "name": "TheStarship",
  230. "definition": "Information on the crew",
  231. "type": "crew",
  232. "sections": [
  233. {
  234. "name": "Cybernetics",
  235. "definition": "Information on cybernetics present on the ship",
  236. "type": "starship/cybernetics",
  237. "sections": [
  238. {
  239. "name": "Marvin",
  240. "definition": "Information on Marvin",
  241. "type": "starship/cybernetics",
  242. "sections": [],
  243. "properties": []
  244. },
  245. {
  246. "name": "Eddie",
  247. "definition": "Information on Eddie",
  248. "type": "starship/cybernetics",
  249. "sections": [],
  250. "properties": []
  251. }
  252. ],
  253. "properties": [
  254. {
  255. "name": "RobotType",
  256. "definition": "Type of robots",
  257. "dtype": "string",
  258. "value": [
  259. "Genuine People Personalities"
  260. ]
  261. },
  262. {
  263. "name": "Manufacturer",
  264. "definition": "Manufacturer of robots",
  265. "dtype": "string",
  266. "value": [
  267. "Sirius Cybernetics Corporation"
  268. ]
  269. },
  270. {
  271. "name": "NoOfCybernetics",
  272. "definition": "Number of cybernetic robots on the ship",
  273. "dtype": "int",
  274. "value": [
  275. 2
  276. ]
  277. }
  278. ]
  279. }
  280. ],
  281. "properties": [
  282. {
  283. "name": "Name",
  284. "definition": "Name of person/device",
  285. "dtype": "string",
  286. "value": [
  287. "Heart of Gold"
  288. ]
  289. },
  290. {
  291. "name": "OwnerStatus",
  292. "definition": "Owner status of device",
  293. "dtype": "string",
  294. "value": [
  295. "stolen"
  296. ]
  297. },
  298. {
  299. "name": "DriveType",
  300. "definition": "Type of drive",
  301. "dtype": "string",
  302. "value": [
  303. "Infinite Propability Drive"
  304. ]
  305. },
  306. {
  307. "name": "Technology",
  308. "definition": "Technology used to built device",
  309. "dtype": "string",
  310. "value": [
  311. "secret"
  312. ]
  313. },
  314. {
  315. "unit": "m",
  316. "name": "Length",
  317. "definition": "Length of device",
  318. "dtype": "float",
  319. "value": [
  320. 150.0
  321. ]
  322. },
  323. {
  324. "name": "Shape",
  325. "definition": "Shape of device",
  326. "dtype": "string",
  327. "value": [
  328. "various"
  329. ]
  330. },
  331. {
  332. "name": "FactoryPlanet",
  333. "definition": "Planet where device was constructed",
  334. "dtype": "string",
  335. "value": [
  336. "Damogran"
  337. ]
  338. }
  339. ]
  340. }
  341. ]
  342. }
  343. }