(schema)
return schema.get("$id", "")
Return the ID of a schema for recent JSON Schema drafts.
Return the ID of a schema for recent JSON Schema drafts.
Return the ID of a schema for recent JSON Schema drafts .
def _id_of(schema):
    """
    Return the ID of a schema for recent JSON Schema drafts.
    """
    if schema is True or schema is False:
        return ""
    return schema.get("$id", "")
def _id_of ( schema ) : if schema is True or schema is False : return "" return schema . get ( "$id" , "" )