async def METHOD_NAME(
    governance_public_did: str, mock_governance_auth: AcaPyAuthVerified
):
    # given
    schema = CreateSchema(
        name=random_string(15), version="0.1", attribute_names=["average"]
    )
    create_result = (
        await definitions.create_schema(schema, mock_governance_auth)
    ).dict()
    result = await definitions.get_schema(create_result["id"], mock_governance_auth)
    assert await trust_registry.registry_has_schema(result.id)
    expected_schema = f"{governance_public_did}:2:{schema.name}:{schema.version}"
    assert_that(result).has_id(expected_schema)
    assert_that(result).has_name(schema.name)
    assert_that(result).has_version(schema.version)
    assert_that(result).has_attribute_names(schema.attribute_names)