action monarchinitiative_get_sim_compare { label: "Compare a reference profile vs one profiles" provider: monarchinitiative method: GET path: "/sim/compare" encoding: json input: { type: "object" properties: { is_feature_set: { type: "boolean" } metric: { type: "string" enum: ["phenodigm", "jaccard", "simGIC", "resnik", "symmetric_resnik"] } query_id: { type: "array" items: { type: "string" } } ref_id: { type: "array" items: { type: "string" } } } additionalProperties: false } output: { type: "object" properties: { matches: { type: "array" items: { description: "list of matches" type: "object" } } metadata: { type: "object" properties: { max_max_ic: { type: "number" description: "max IC" } } } query: { type: "object" properties: { ids: { type: "array" items: { description: "list of ids" type: "object" } } negated_ids: { type: "array" items: { description: "list of ids" type: "object" } } reference: { description: "reference individual or class (eg gene, disease)" type: "object" } target_ids: { type: "array" items: { type: "array" items: { description: "query ids" type: "object" } } } unresolved_ids: { type: "array" description: "list of unresolved ids" items: { type: "string" description: "curie formatted id" } } } } } } }