diff --git a/schemas/schema-schema.ipldsch b/schemas/schema-schema.ipldsch index 0ccc52a7..72216f4d 100644 --- a/schemas/schema-schema.ipldsch +++ b/schemas/schema-schema.ipldsch @@ -431,9 +431,7 @@ type UnionRepresentation_Inline struct { ## byteprefix is an invalid representation for any union that contains a type ## that does not have a bytes representation. ## -type UnionRepresentation_BytePrefix struct { - discriminantTable {TypeName:Int} -} +type UnionRepresentation_BytePrefix {TypeName:Int} ## TypeStruct describes a type which has a group of fields of varying Type. ## Each field has a name, which is used to access its value, similarly to diff --git a/schemas/schema-schema.ipldsch.json b/schemas/schema-schema.ipldsch.json index 35848f48..595d1b37 100644 --- a/schemas/schema-schema.ipldsch.json +++ b/schemas/schema-schema.ipldsch.json @@ -355,19 +355,9 @@ } }, "UnionRepresentation_BytePrefix": { - "kind": "struct", - "fields": { - "discriminantTable": { - "type": { - "kind": "map", - "keyType": "TypeName", - "valueType": "Int" - } - } - }, - "representation": { - "map": {} - } + "kind": "map", + "keyType": "TypeName", + "valueType": "Int" }, "TypeStruct": { "kind": "struct",