{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://zoark.org/schemas/creature-spec/0.5","title":"ZOARK creature spec (DRAFT 0.5)","description":"Draft written by Nemotron (Nebius Token Factory) from the user's short prompt; the user approves it with GEN, then it goes to the engine container. 0.4: description = Nemotron's full English description (shown to the user before GEN); prompt = the user's original words. 0.5: taxon.resembles_sci (closest real animal's scientific name; the skeleton stage looks up the species card by it first) and size_stated (true only when the user gave the size; otherwise the skeleton stage uses the card's size).","type":"object","additionalProperties":false,"required":["schema_version","source","species","prompt","description","taxon_code","body_plan","limbs","size_m"],"properties":{"schema_version":{"const":"0.5"},"source":{"enum":["create","remix"]},"species":{"type":"object","additionalProperties":false,"required":["common_name","kind"],"properties":{"common_name":{"type":"string","minLength":2,"maxLength":60,"description":"Name from the prompt, or suggested by Nemotron"},"scientific_name":{"type":"string","maxLength":120,"description":"Only for real species"},"kind":{"enum":["invented","real"]},"confidence":{"type":"number","minimum":0,"maximum":1,"description":"Model confidence in taxon.resembles / lineage"}}},"prompt":{"type":"string","minLength":12,"maxLength":1000,"description":"The user's own words, unchanged"},"description":{"type":"string","minLength":40,"maxLength":1500,"description":"Full description written by Nemotron from the prompt (English); shown in the draft and on the specimen page"},"taxon_code":{"enum":["MAM","AVE","REP","AMP","PIS","ART","MOL","OTH"]},"taxon":{"type":"object","additionalProperties":false,"description":"For invented species: the closest real relative. Used by the skeleton stage to pick a template and inherit joint ranges.","properties":{"lineage":{"type":"array","maxItems":8,"items":{"type":"string","maxLength":60},"description":"class, order, family, genus (Latin)"},"posture":{"enum":["quadruped","biped","other"]},"gait":{"type":"object","additionalProperties":false,"properties":{"F":{"enum":["plantigrade","digitigrade","unguligrade","none"]},"B":{"enum":["plantigrade","digitigrade","unguligrade","none"]}}},"resembles":{"type":"string","maxLength":60,"description":"Closest real animal (common name)"},"resembles_sci":{"type":"string","maxLength":120,"description":"Scientific name of the closest real animal. The skeleton stage looks up the species card by this first, then by resembles (common names collide)."}}},"body_plan":{"enum":["quadruped","biped","hexapod","octopod","serpentine","fish","avian"]},"limbs":{"type":"object","additionalProperties":false,"required":["legs","arms","wings","fins"],"properties":{"legs":{"type":"integer","minimum":0,"maximum":8},"arms":{"type":"integer","minimum":0,"maximum":4},"wings":{"type":"integer","minimum":0,"maximum":4},"fins":{"type":"integer","minimum":0,"maximum":8}}},"tail":{"enum":["none","short","long","fluke","fin"]},"size_m":{"type":"number","minimum":0.01,"maximum":30,"x-remixable":true,"description":"Head-body length in meters: snout tip to buttock, tail excluded."},"size_stated":{"type":"boolean","default":false,"description":"true only when the user gave the size: a number with a unit in their words, or a remix. false: size_m is an estimate for display only; the skeleton stage builds the species card's size and returns the real head-body length."},"proportions":{"type":"object","additionalProperties":false,"x-remixable":true,"properties":{"head":{"type":"number","minimum":0.05,"maximum":0.6},"neck":{"type":"number","minimum":0,"maximum":0.6},"torso":{"type":"number","minimum":0.1,"maximum":0.9},"legs":{"type":"number","minimum":0,"maximum":0.8},"tail":{"type":"number","minimum":0,"maximum":1.5}}},"features":{"type":"array","maxItems":12,"items":{"type":"string","pattern":"^[a-z0-9_]{2,32}$"}},"locomotion":{"type":"array","items":{"enum":["idle","walk","run","swim","fly","slither"]},"uniqueItems":true}}}