A descriptor is source-declared data. Constructing this tree grants no
validity or authority; renderJSON and the normal AOS readers still check it.
657def aosDescriptorRecord =
658 (lambda unrestricted kind : Bytes .
659 (lambda unrestricted identity : Bytes .
660 (lambda unrestricted body : (family JSON) .
661 (constructor
662 JSON
663 JSONObject
664 (constructor
665 JSON
666 JSONObjectMember
667 b"format"
668 (constructor JSON JSONString b"AOS-JSON/1")
669 (constructor
670 JSON
671 JSONObjectMember
672 b"type"
673 (constructor JSON JSONString b"descriptor")
674 (constructor
675 JSON
676 JSONObjectMember
677 b"kind"
678 (constructor JSON JSONString kind)
679 (constructor
680 JSON
681 JSONObjectMember
682 b"descriptor_id"
683 (constructor JSON JSONString identity)
684 (constructor JSON JSONObjectMember b"body" body (constructor JSON JSONObjectEnd))))))))))The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.