@@ -1014,15 +1014,11 @@ components:
10141014 required :
10151015 - error
10161016
1017- discovery -info :
1017+ tea-server -info :
10181018 type : object
1019- description : Discovery information for a TEI
1019+ description : TEA server information including URL, versions, and optional priority
10201020 additionalProperties : false
10211021 properties :
1022- productReleaseUuid :
1023- description : UUID of the resolved TEA Product Release
1024- $ref : " #/components/schemas/uuid"
1025- example : d4d9f54a-abcf-11ee-ac79-1a52914d44b
10261022 rootUrl :
10271023 description : Root URL of the TEA server for this TEI without trailing slash
10281024 type : string
@@ -1035,11 +1031,36 @@ components:
10351031 items :
10361032 type : string
10371033 example : ["0.2.0-beta.2", "1.0.0"]
1034+ priority :
1035+ description : Optional priority for this server (0.0 to 1.0, where 1.0 is highest priority)
1036+ type : number
1037+ format : float
1038+ minimum : 0.0
1039+ maximum : 1.0
1040+ example : 0.8
10381041 required :
1039- - productReleaseUuid
10401042 - rootUrl
10411043 - versions
10421044
1045+ discovery-info :
1046+ type : object
1047+ description : Discovery information for a TEI
1048+ additionalProperties : false
1049+ properties :
1050+ productReleaseUuid :
1051+ description : UUID of the resolved TEA Product Release
1052+ $ref : " #/components/schemas/uuid"
1053+ example : d4d9f54a-abcf-11ee-ac79-1a52914d44b
1054+ servers :
1055+ description : Array of TEA server information
1056+ type : array
1057+ minItems : 1
1058+ items :
1059+ $ref : " #/components/schemas/tea-server-info"
1060+ required :
1061+ - productReleaseUuid
1062+ - servers
1063+
10431064 pagination-details :
10441065 type : object
10451066 properties :
@@ -1111,7 +1132,9 @@ components:
11111132 content :
11121133 application/json :
11131134 schema :
1114- $ref : " #/components/schemas/discovery-info"
1135+ type : array
1136+ items :
1137+ $ref : " #/components/schemas/discovery-info"
11151138 paginated-product :
11161139 description : A paginated response containing TEA Products
11171140 content :
0 commit comments